<?php

namespace Admin\Form;

use Zend\Form\Annotation;
use Admin\Form\ProfileForm;

/**
 * @Annotation\Hydrator("Zend\Stdlib\Hydrator\ObjectProperty")
 * @Annotation\Name("form_new_reader")
 */
class BorrowReturnForm {

    /**
     * @Annotation\Type("Zend\Form\Element\Text")
     * @Annotation\Required(false)
     * @Annotation\Filter({"name":"StripTags"})
     * @Annotation\Filter({"name":"StringTrim"})
     * @Annotation\Validator({"name":"StringLength", "options":{"min":"1","max":"30"}})
     * @Annotation\Validator({"name":"Regex", "options":{"pattern":"/^[0-9]/"}})
     * @Annotation\Options({"label":"Mã bạn đọc:"})
     * @Annotation\Attributes({"id":"cardBarcode","class":"cardBarcode"})
     */
    public $cardBarcode;

    /**
     * @Annotation\Type("Zend\Form\Element\Text")
     * @Annotation\Required(false)
     * @Annotation\Options({"label":"Họ Tên:"})
     * @Annotation\Attributes({"id":"fullName","class":"borrowReturn","disabled":"true"})
     */
    public $fullName;

    /**
     * @Annotation\Type("Zend\Form\Element\Text")
     * @Annotation\Required(false)
     * @Annotation\Options({"label":"Đơn vị/Bộ phận:"})
     * @Annotation\Attributes({"id":"classID","class":"borrowReturn","disabled":"true"})
     */
    public $classID;

    /**
     * @Annotation\Type("Zend\Form\Element\Text")
     * @Annotation\Required(false)
     * @Annotation\Options({"label":"Tình trạng:"})
     * @Annotation\Attributes({"id":"statusReader","class":"borrowReturn","disabled":"true"})
     */
    public $isActive;

    /**
     * @Annotation\Type("Zend\Form\Element\Text")
     * @Annotation\Required(false)
     * @Annotation\Options({"label":"Địa chỉ:"})
     * @Annotation\Attributes({"id":"residentAddress","class":"borrowReturn","disabled":"true"})
     */
    public $residentAddress;

    /**
     * @Annotation\Type("Zend\Form\Element\Text")
     * @Annotation\Required(false)
     * @Annotation\Options({"label":"Tài khoản:"})
     * @Annotation\Attributes({"id":"accountStatus","class":"borrowReturn","disabled":"true"})
     */
    public $accountStatus;

    /**
     * @Annotation\Type("Zend\Form\Element\Text")
     * @Annotation\Required(false)
     * @Annotation\Filter({"name":"StripTags"})
     * @Annotation\Filter({"name":"StringTrim"})
     * @Annotation\Validator({"name":"StringLength", "options":{"min":"1","max":"30"}})
     * @Annotation\Validator({"name":"Regex", "options":{"pattern":"/^[0-9]/"}})
     * @Annotation\Options({"label":"Mã tài liêu:"})
     * @Annotation\Attributes({"id":"bookBarcode","class":"bookBarcode"})
     */
    public $bookBarcode;

    /**
     * @Annotation\Type("Zend\Form\Element\Text")
     * @Annotation\Required(false)
     * @Annotation\Options({"label":"Tình trạng:"})
     * @Annotation\Attributes({"id":"statusDocument","class":"borrowReturn","disabled":"true"})
     */
    public $statusDocument;

    /**
     * @Annotation\Type("Zend\Form\Element\Text")
     * @Annotation\Required(false)
     * @Annotation\Options({"label":"Hạn trả:"})
     * @Annotation\Attributes({"id":"dateReturn","class":"borrowReturn","disabled":"true"})
     */
    public $dateReturn;

    /**
     * @Annotation\Type("Zend\Form\Element\Text")
     * @Annotation\Required(false)
     * @Annotation\Options({"label":"Loại tài liệu:"})
     * @Annotation\Attributes({"id":"typeDocument","class":"borrowReturn","disabled":"true"})
     */
    public $typeDocument;

    /**
     * @Annotation\Type("Zend\Form\Element\Textarea")
     * @Annotation\Required(false)
     * @Annotation\Options({"label":"Mô tả:"})
     * @Annotation\Attributes({"id":"categoriesDocument","class":"borrowReturn","cols":"93","rows":"5","disabled":"true"})
     */
    public $descriptionDocument;

    /**
     * @Annotation\Type("Zend\Form\Element\Text")
     * @Annotation\Required(false)
     * @Annotation\Options({"label":"Vị trí:"})
     * @Annotation\Attributes({"id":"locationDocument","class":"borrowReturn","disabled":"true"})
     */
    public $locationDocument;

    /**
     * @Annotation\Type("Zend\Form\Element\Submit")
     * @Annotation\Required(false)
     * @Annotation\Attributes({"value":"Trả tài liệu:"})
     * @Annotation\Attributes({"id":"returnDocument","class":"returnDocument"})
     */
    public $returnDocument;

}

